/*
 * AjaxServiceImpl.java
 *
 * Created on January 14, 2009, 2:54 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.services;

import org.vacuela.publishmx.domains.Message;

/**
 *
 * @author nestor.carrasco
 */
public class AjaxServiceImpl extends AbstractDaoBasedPublish  {
    
    /** Creates a new instance of AjaxServiceImpl */
    public AjaxServiceImpl() {
    }
    
    public Message getMessageById(Integer msgId){  
        System.out.print("id " + msgId) ;
        System.out.print("dao " + messageDao) ;
        Message msg = this.messageDao.getMessage(msgId);
        return msg;
    }
    
    public String getStringText(){
        return "simple  text";
    }
    
}
